package com.hhj.demo.springmvc.service.impl;

import com.hhj.demo.springmvc.annotations.KingServer;
import com.hhj.demo.springmvc.service.HelloService;

/**
 * @author KING
 * @date 2018/10/14 17:48
 */
@KingServer("helloServiceImpl")
public class HelloServiceImpl implements HelloService {
    @Override
    public String query(String name, String age) {
        String msg = "hello %s, you are %s";
        return String.format(msg, name, age);
    }


}
